﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DataObjects.Interfaces;
using DataObjects.Enums;

namespace DataObjects.ShipSystems
{
    public class ShipSystem : ISystem, ICloneable
    {
        private ShipSystemType systemType;
        private string name;
        private float crewCost;
        private float powerCost;

        #region ISystem Members
        public ShipSystemType SystemType
        {
            get { return systemType; }
            set { systemType = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public float CrewCost
        {
            get { return crewCost; }
            set { crewCost = value; }
        }

        public float PowerCost
        {
            get { return powerCost; }
            set { powerCost = value; }
        }
        #endregion

        #region ICloneable Members
        virtual public object Clone()
        {
            return this.MemberwiseClone();
        }
        #endregion
    }
}
